<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/28
 * Time: 9:09
 */

namespace app\api\controller\v2;
use app\api\model\Banner as BannerModel;
use app\api\validate\IDMustBePostiveInt;
use app\lib\exception\BannerMissException;
use think\Exception;

class Banner
{
    /*
     * 获取banner
     * @url /banner/:id
     * @http GET
     * @id banner id号
     * */
    public function getBanner($id)
    {
      return 'this v2';
    }

}